<template>
  <div id="app">
    <h2>{{title}}</h2>
    <button @click='fanzhuan'>扭转世界</button>
  </div>
</template>

<script>


export default {
  name: 'App',
  data(){
    return{
      title:  'Hello, World'
    }
  },
   methods:{
       fanzhuan(){
        console.log(1);
       
          this.title = this.title.split('').reverse().join('')
           console.log(this.title.split('').reverse().join(''));
       }
   }
}
</script>

<style>

</style>
